package com.lwj;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by Administrator on 2021/2/24.
 */
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

    @Configuration
    @EnableDubbo(scanBasePackages = "com.lwj.conteroller")
    @PropertySource("classpath:dubbo.properties")
    @ComponentScan(value = {"com.lwj.conteroller"})
    static class ConsumerConfiguration {

    }
}
